package com.edu.fd2130sprbootdemo.dao;

import com.edu.fd2130sprbootdemo.bean.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @program: fd2130sprbootdemo
 * @description:
 * @author: Teacher.zhang
 * @create: 2022-03-10 09:19
 **/
@Mapper
public interface UserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);

    int updateByPrimaryKey(User record);

    int updateByPrimaryKeySelective(User record);

    List<User> selectUsers();
}
